﻿Public Class SinhVienDTO
    Private _maSinhVien As String
    Public Property MaSinhVien() As String
        Get
            Return _maSinhVien
        End Get
        Set(ByVal value As String)
            _maSinhVien = value
        End Set
    End Property

    Private _hoTen As String
    Public Property HoTen() As String
        Get
            Return _hoTen
        End Get
        Set(ByVal value As String)
            _hoTen = value
        End Set
    End Property

    Private _soDienThoai As String
    Public Property SoDienThoai() As String
        Get
            Return _soDienThoai
        End Get
        Set(ByVal value As String)
            _soDienThoai = value
        End Set
    End Property

    Private _ngaySinh As Date
    Public Property NgaySinh() As Date
        Get
            Return _ngaySinh
        End Get
        Set(ByVal value As Date)
            _ngaySinh = value
        End Set
    End Property

    Private _gioiTinh As String
    Public Property GioiTinh() As String
        Get
            Return _gioiTinh
        End Get
        Set(ByVal value As String)
            _gioiTinh = value
        End Set
    End Property

    Private _maLop As Integer
    Public Property MaLop() As Integer
        Get
            Return _maLop
        End Get
        Set(ByVal value As Integer)
            _maLop = value
        End Set
    End Property

    Public Sub New()
        _ngaySinh = CDate("01/01/1991")
    End Sub
    Public Sub New(ByVal maSinhVien As String, ByVal hoTen As String, ByVal soDienThoai As String, ByVal ngaySinh As Date, ByVal gioiTinh As String, ByVal maLop As Integer)
        Me._maSinhVien = maSinhVien
        Me._hoTen = hoTen
        Me._soDienThoai = soDienThoai
        Me._ngaySinh = ngaySinh
        Me._gioiTinh = gioiTinh
        Me._maLop = maLop
    End Sub
End Class
